// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Marking
 */
@DS("ds24")
@Data
@TableName(value = "marking", autoResultMap = true)
@Schema(title = "标发中")
public class Marking implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 平台单号
   */
  @TableField(value = "`platform_number`")
  @Schema(title = "平台单号")
  private String platformNumber;

  /**
   * 发货时限
   */
  @TableField(value = "`shipping_time_limit`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "发货时限")
  private java.util.Date shippingTimeLimit;

  /**
   * 系统单号
   */
  @TableField(value = "`system_tracking_number`")
  @Schema(title = "系统单号")
  private String systemTrackingNumber;

  /**
   * 本地状态
   */
  @TableField(value = "`local_status`")
  @Schema(title = "本地状态")
  private Boolean localStatus;

  /**
   * 商品
   */
  @TableField(value = "`product`")
  @Schema(title = "商品")
  private String product;

  /**
   * 平台
   */
  @TableField(value = "`platform`")
  @Schema(title = "平台")
  private String platform;

  /**
   * 物流方式
   */
  @TableField(value = "`logistics_methods`")
  @Schema(title = "物流方式")
  private String logisticsMethods;

  /**
   * 承运商
   */
  @TableField(value = "`carriers`")
  @Schema(title = "承运商")
  private String carriers;

  /**
   * 配送服务
   */
  @TableField(value = "`delivery_services`")
  @Schema(title = "配送服务")
  private String deliveryServices;

  /**
   * 标发单号
   */
  @TableField(value = "`tracking_number`")
  @Schema(title = "标发单号")
  private String trackingNumber;

  /**
   * 线上状态
   */
  @TableField(value = "`online_status`")
  @Schema(title = "线上状态")
  private Boolean onlineStatus;

  /**
   * 标发状态
   */
  @TableField(value = "`marking_status`")
  @Schema(title = "标发状态")
  private Boolean markingStatus;

  /**
   * 标发次数
   */
  @TableField(value = "`deliveries_number`")
  @Schema(title = "标发次数")
  private Integer deliveriesNumber;

  /**
   * 标发时间
   */
  @TableField(value = "`marking_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "标发时间")
  private java.util.Date markingTime;
}
